package com.sp.scmdb.service;

import java.util.List;

import com.sp.scmdb.bean.UserBean;
import com.sp.scmdb.bean.WorkTypeBean;
import com.sp.scmdb.entity.WorkType;

public interface WorkTypeService {

	List<WorkType> queryAll();

	String newWorkType(WorkTypeBean t, UserBean user);

	String editWorkType(WorkTypeBean t, UserBean user);

	WorkType findID(String depId);
	
	String delWorkType(String []arr, UserBean user);
}
